<template>
  <div>
    <h1>echarts图表</h1>
    <!-- 路由出口 -->
    <!-- 路由匹配到的组件将渲染在这里 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "TestHome",
  props: {},
  data() {
    return {};
  },
  mounted() {
    console.log("home组件挂载了");
  },
  created() {
    console.log("home组件创建");
  },
};
</script>
